//
//  LGColor.h
//  LuxuryGoods
//
//  Created by 刘星辰 on 2018/5/19.
//  Copyright © 2018年 Future. All rights reserved.
//

#ifndef LGColor_h
#define LGColor_h

/*16进制颜色*/
#define UIColorFromRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0]

#define RGBCOLOR(r,g,b)    [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:1]
#define RGBACOLOR(r,g,b,a) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:(a)]

//主题色 - 蓝色
#define TOPCAIL_COLOR  UIColorFromRGB(0xAD9B6A)

//渐变色 - 低
#define LOW_COLOR UIColorFromRGB(0xDFD0AB)
//渐变色 - 高
#define HIGH_COLOR  UIColorFromRGB(0xC6B68B)


//背景底色
#define BACKGROUND_COLOR UIColorFromRGB(0xEFF1F1)

#define WHITE_COLOR   [UIColor whiteColor]
#define BLACK_COLOR [UIColor blackColor]
#define RED_COLOR  RGBCOLOR(252,119,56)
#define YELLOW_COLOR  UIColorFromRGB(0xfba91e)
#define LINE_COLOR    UIColorFromRGB(0xf5f5f5)
#define PURE_COLOR RGBCOLOR(114,54,207)
#define SEPARATORLINE_COLOR RGBCOLOR(221, 221, 221)
#define BLUE_COLOR UIColorFromRGB(0x54baef)

#define LINT_COLOR RGBCOLOR(239,239,239)

//绿色 选中
#define GREEN_SELECTED UIColorFromRGB(0xa0f4e7)
#define GREEN_UN_SELECTED UIColorFromRGB(0xc1f6ee)
#define GRAY_UN_SELECTED UIColorFromRGB(0xDDDDDD)

//字体引用
#define FONT(X) [UIFont fontWithName:@"PingFang SC" size:X]

//字体颜色
#define TEXT_COLOR_1 UIColorFromRGB(0x222222)

#define TEXT_COLOR_2 UIColorFromRGB(0x969696)

#define TEXT_COLOR_3 UIColorFromRGB(0x818181)

#define TEXT_COLOR_4 UIColorFromRGB(0xdddddd)

#define TEXT_COLOR_5 UIColorFromRGB(0x4f5356)

#define TEXT_COLOR_6 UIColorFromRGB(0x666666)

#endif /* LGColor_h */
